<?
if(!ANTIHACK) die("ANTIHACK...");
$code=$_GET["code"];
$q=query("select title,content from page,menu where page.menuid=menu.id and code='$code'");
$f=fetch($q);
$smarty->assign("title",$f["title"]);
$smarty->assign("content",$f["content"]);
$smarty->display("box2.htm");
?>